import axios from 'axios';
import { LocalConfig } from '@/interfaces/config';

export async function loadLocalConfig() {
  let res = {};
  try {
    res = await axios.get<LocalConfig>('/config/local.json').then((res) => res.data);
  } catch (e) {}
  return res as LocalConfig;
}
